package cn.ilovese.collect.po.coordination;

import cn.ilovese.collect.po.task.Task;
import lombok.Data;

import java.util.Date;

@Data
public class ReportTask {
    //report的属性
    private Integer id;

    private Integer taskId;

    private Integer userId;

    private String description;

    private String steps;

    private String deviceInfo;

    private Date submitTime;

    private Double textSimilarity;

    private Double picSimilarity;

    private Boolean pass;

    //task的属性，只需要保留task的type

    private Integer rate;

    private Task task;

    public String getTaskType(){
        return this.task.getType();
    }
}
